package com.xiao.gulimall.product.dao;

import com.xiao.gulimall.product.entity.ProductAttrValueEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xiao.gulimall.product.vo.SpuItemAttrGroupVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * spu属性值
 *
 * @author xiaobin
 * @email sunlightcs@gmail.com
 * @date 2021-07-15 14:40:20
 */
@Mapper
public interface ProductAttrValueDao extends BaseMapper<ProductAttrValueEntity> {

    List<SpuItemAttrGroupVo> getAttrValuesById(@Param("spuId") Long spuId,@Param("catalogId") Long catalogId);
}
